package controllers

import (
	"github.com/astaxie/beego"
)

type HomeController struct {
	beego.Controller
}

func (c *HomeController) Get() {
	c.Data["Website"] = "beego.me"
	c.Data["Email"] = "astaxie@gmail.com"

	c.Data["king"] = "isKing"

	c.Data["IsLogin"] = checkAccount(c.Ctx)
	c.TplName = "home.html"

}
